package com.autocode.codegenerate.generate.pojo.onetomany;

import java.util.List;


public class MainTableVo {
    private String entityPackage;
    private String tableName;
    private String entityName;
    private String ftlDescription;
    private String primaryKeyPolicy;
    private String sequenceCode;
    private String ftl_mode = "A";
    List<SubTableVo> subTables;
    public int fieldRowNum = 4;
    public int searchFieldNum = 1;
    public int fieldRequiredNum = 1;

    public MainTableVo() {
    }

    public int getFieldRowNum() {
        return this.fieldRowNum;
    }

    public void setFieldRowNum(int fieldRowNum) {
        this.fieldRowNum = fieldRowNum;
    }

    public int getSearchFieldNum() {
        return this.searchFieldNum;
    }

    public void setSearchFieldNum(int searchFieldNum) {
        this.searchFieldNum = searchFieldNum;
    }

    public int getFieldRequiredNum() {
        return this.fieldRequiredNum;
    }

    public void setFieldRequiredNum(int fieldRequiredNum) {
        this.fieldRequiredNum = fieldRequiredNum;
    }

    public List<SubTableVo> getSubTables() {
        return this.subTables;
    }

    public void setSubTables(List<SubTableVo> subTables) {
        this.subTables = subTables;
    }

    public String getEntityPackage() {
        return this.entityPackage;
    }

    public String getTableName() {
        return this.tableName;
    }

    public String getEntityName() {
        return this.entityName;
    }

    public String getFtlDescription() {
        return this.ftlDescription;
    }

    public void setEntityPackage(String entityPackage) {
        this.entityPackage = entityPackage;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public void setFtlDescription(String ftlDescription) {
        this.ftlDescription = ftlDescription;
    }

    public String getFtl_mode() {
        return this.ftl_mode;
    }

    public void setFtl_mode(String ftl_mode) {
        this.ftl_mode = ftl_mode;
    }

    public String getPrimaryKeyPolicy() {
        return this.primaryKeyPolicy;
    }

    public String getSequenceCode() {
        return this.sequenceCode;
    }

    public void setPrimaryKeyPolicy(String primaryKeyPolicy) {
        this.primaryKeyPolicy = primaryKeyPolicy;
    }

    public void setSequenceCode(String sequenceCode) {
        this.sequenceCode = sequenceCode;
    }

    public String toString() {
        return "{\"entityPackage\":\"" + this.entityPackage + "\",\"tableName\":\"" + this.tableName + "\",\"entityName\":\"" + this.entityName + "\",\"ftlDescription\":\"" + this.ftlDescription + "\",\"primaryKeyPolicy\":\"" + this.primaryKeyPolicy + "\",\"sequenceCode\":\"" + this.sequenceCode + "\",\"ftl_mode\":\"" + this.ftl_mode + "\",\"subTables\":" + this.subTables + ",\"fieldRowNum\":\"" + this.fieldRowNum + "\",\"searchFieldNum\":\"" + this.searchFieldNum + "\",\"fieldRequiredNum\":\"" + this.fieldRequiredNum + "\"}";
    }
}
